#include "EpollServer.hpp"

// ./select_server 8080
int main(int argc,char *argv[])
{
    ENABLE_CONSOLE_LOG_STRATEGY();
    if(argc != 2)
    {
        std::cout << "Usage: " << argv[0] << " port" << std::endl;
        return -1;
    }
    uint16_t port = stoi(argv[1]);
    std::shared_ptr<EpollServer> ss = make_shared<EpollServer>(port);
    ss->Init();
    ss->Start();
}